openbsd: properly set len for gtkmountoperation-x11
authorAntoine Jacoutot <ajacoutot@gnome.org>
Fri, 25 Apr 2014 12:37:59 +0000 (14:37 +0200)
committerAntoine Jacoutot <ajacoutot@gnome.org>
Fri, 25 Apr 2014 12:37:59 +0000 (14:37 +0200)
commit8935d2f123878c31af69b6c6034069ad540b13c7
tree25c9857f96f5b7e3206f7a82f74a7107a09ebb82
parentfab2173b315c7d305b75f6aabb4da45922b44afa
openbsd: properly set len for gtkmountoperation-x11

sysctl(3) is the correct way to get the lenght for len in this case.
Also drop unused headers and change style to match the rest of the file.
gtk/gtkmountoperation-x11.c